package com.dmtt.web.mapper;

import com.dmtt.web.entity.GrainRateCount;
import com.dmtt.web.entity.MovemontRate;
import com.dmtt.web.entity.StatisticsAgvTime;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StatisticsMapper {
    List<StatisticsAgvTime> grainRate(@Param("startTime") String startTime, @Param("endTime") String endTime);

    void saveAgv(StatisticsAgvTime tempAgv);

    List<StatisticsAgvTime> tempFind();

    void saveAgvCountTime(StatisticsAgvTime agvTime);

    void saveAgv1(StatisticsAgvTime tempAgv);

    void saveAgvCountTime1(StatisticsAgvTime agvTime);

    List<StatisticsAgvTime> tempFind1();

    void deleteTemp();

    void deleteTemp1();

    void deleteStatics(@Param("startTime") String startTime);

    int findAgvYear(@Param("startTime") String startTime);
}
